package com.helin.helinhealth.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 健康记录数据传输对象
 */
@Data
@Schema(description = "健康记录DTO")
public class HealthRecordDTO {
    
    @Schema(description = "记录ID")
    private Long id;
    
    @Schema(description = "记录类型：1-血压 2-血糖", required = true)
    private Integer type;
    
    @Schema(description = "记录值，如血压120/80", required = true)
    private String value;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
} 